Nagios - Install /Configure
2011/06/12 |
Install Nagios that is Integrated monitoring system.
Web Server and PHP are also required.
|
|
[1] | Install Nagios |
[root@master ~]#
vi /etc/nagios/objects/contacts.cfg # line 35: change to admin's address root@localhost
[root@master ~]#
vi /etc/httpd/conf.d/nagios.conf # line 15-19: change like follows ( change line 32-36 too as follows ) # Order allow,deny# Allow from allOrder deny,allow Deny from all Allow from 127.0.0.1 10.0.0.0/24
[root@master ~]#
[root@master ~]# htpasswd /etc/nagios/passwd nagiosadmin New password: # set password Re-type new password: Updating password for user nagiosadmin /etc/rc.d/init.d/nagios start Starting nagios: done. [root@master ~]# /etc/rc.d/init.d/httpd restart Stopping httpd: [ OK ] Starting httpd: [ OK ] [root@master ~]# chkconfig nagios on |
[2] | Access to "http://(hostname or IP address)/nagios/" and authenticate a user you added. |
[3] | Thies is Index page of Nagios. Installation just finished. |